#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "i_http.h"

int main(int argc,char *argv[])
{

	char *url = "http://127.0.0.1:8099/tyesf/getBankCommand";
	char *result = http_get(url);
	printf("get result is \n%s\n",result);

	char *url1 = "http://127.0.0.1:8099/tyesf/saveBankCommand";
	char *post = "userName=fa";
	char *result1 = http_post(url1,post);
	printf("post result1 is \n%s\n",result1);
	
	return EXIT_SUCCESS;
}

